[INFO] cloning repository https://github.com/super-continent/syringe
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/super-continent/syringe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuper-continent%2Fsyringe", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuper-continent%2Fsyringe'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e114eedbc017ab69adbf9c97820b7607b5b32ea4
[INFO] building super-continent/syringe against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuper-continent%2Fsyringe" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/super-continent/syringe on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/super-continent/syringe
[INFO] finished tweaking git repo https://github.com/super-continent/syringe
[INFO] tweaked toml for git repo https://github.com/super-continent/syringe written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/super-continent/syringe already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2648c67d0344dde8f0112bab7c5c113bba3a1fb44a7b9f5c5ceef7c0c6b3b1ea
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2648c67d0344dde8f0112bab7c5c113bba3a1fb44a7b9f5c5ceef7c0c6b3b1ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2648c67d0344dde8f0112bab7c5c113bba3a1fb44a7b9f5c5ceef7c0c6b3b1ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2648c67d0344dde8f0112bab7c5c113bba3a1fb44a7b9f5c5ceef7c0c6b3b1ea", kill_on_drop: false }`
[INFO] [stdout] 2648c67d0344dde8f0112bab7c5c113bba3a1fb44a7b9f5c5ceef7c0c6b3b1ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5222052701d15838fb533e07ddb16d8b746af710deeea9bc8997a33378d5daa5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5222052701d15838fb533e07ddb16d8b746af710deeea9bc8997a33378d5daa5", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling dunce v1.0.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling structopt-derive v0.4.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling structopt v0.3.20
[INFO] [stderr]    Compiling syringe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/lib.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `dunce`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use dunce;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]   --> src/lib.rs:35:70
[INFO] [stdout]    |
[INFO] [stdout] 35 | type LPThreadStartRoutineFn = unsafe extern "system" fn(*mut winapi::ctypes::c_void) -> u32;
[INFO] [stdout]    |                                                                      ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:194:31
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let err = winapi::um::errhandlingapi::GetLastError();
[INFO] [stdout]     |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |         winapi::um::errhandlingapi::GetLastError();
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:203:17
[INFO] [stdout]     |
[INFO] [stdout] 203 |         winapi::um::errhandlingapi::GetLastError();
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |     process_id: DWORD,
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |         process_id: DWORD,
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/lib.rs:88:26
[INFO] [stdout]    |
[INFO] [stdout] 88 |         process_handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.process_id);
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]   --> src/lib.rs:88:38
[INFO] [stdout]    |
[INFO] [stdout] 88 |         process_handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.process_id);
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:88:58
[INFO] [stdout]    |
[INFO] [stdout] 88 |         process_handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, self.process_id);
[INFO] [stdout]    |                                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/lib.rs:90:58
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if process_handle.is_null() || process_handle == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stdout]   --> src/lib.rs:97:24
[INFO] [stdout]    |
[INFO] [stdout] 97 |         path_address = VirtualAllocEx(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/lib.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             MEM_COMMIT,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/lib.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             PAGE_READWRITE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stdout]    --> src/lib.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let wpm_successful = WriteProcessMemory(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:117:30
[INFO] [stdout]     |
[INFO] [stdout] 117 |         if wpm_successful == FALSE {
[INFO] [stdout]     |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]    --> src/lib.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let loadlibrary_address = GetProcAddress(
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]    --> src/lib.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             GetModuleHandleW(kernel32_name.as_ptr()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope
[INFO] [stdout]    --> src/lib.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let remote_thread = CreateRemoteThread(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/lib.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         CloseHandle(process_handle);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/lib.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut token: HANDLE = ptr::null_mut();
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]    --> src/lib.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if OpenProcessToken(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/lib.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |             GetCurrentProcess(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/lib.rs:161:39
[INFO] [stdout]     |
[INFO] [stdout] 161 |             TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |         ) == FALSE
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LUID` in this scope
[INFO] [stdout]    --> src/lib.rs:170:23
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut luid: LUID = mem::zeroed();
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_DEBUG_NAME` in this scope
[INFO] [stdout]    --> src/lib.rs:173:26
[INFO] [stdout]     |
[INFO] [stdout] 173 |             CString::new(SE_DEBUG_NAME).expect("CString::new(SE_DEBUG_NAME) failed");
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope
[INFO] [stdout]    --> src/lib.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |         if LookupPrivilegeValueA(ptr::null_mut(), se_debug_name.as_ptr(), &mut luid) == FALSE {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:174:89
[INFO] [stdout]     |
[INFO] [stdout] 174 |         if LookupPrivilegeValueA(ptr::null_mut(), se_debug_name.as_ptr(), &mut luid) == FALSE {
[INFO] [stdout]     |                                                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:180:28
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let mut privilege: TOKEN_PRIVILEGES = mem::zeroed();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope
[INFO] [stdout]    --> src/lib.rs:183:46
[INFO] [stdout]     |
[INFO] [stdout] 183 |         privilege.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope
[INFO] [stdout]    --> src/lib.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 185 |         if AdjustTokenPrivileges(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             FALSE,
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |         ) == FALSE
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/lib.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         CloseHandle(token);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:209:44
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn get_pid_from_name(name: &str) -> Option<DWORD> {
[INFO] [stdout]     |                     -                      ^^^^^ not found in this scope
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope
[INFO] [stdout]    --> src/lib.rs:211:24
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope
[INFO] [stdout]    --> src/lib.rs:211:49
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]    --> src/lib.rs:213:47
[INFO] [stdout]     |
[INFO] [stdout] 213 |         if !snapshot.is_null() && snapshot != INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/lib.rs:214:30
[INFO] [stdout]     |
[INFO] [stdout] 214 |             let mut process: PROCESSENTRY32W = mem::zeroed();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope
[INFO] [stdout]    --> src/lib.rs:215:45
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn get_pid_from_name(name: &str) -> Option<DWORD> {
[INFO] [stdout]     |                     - help: you might be missing a type parameter: `<PROCESSENTRY32W>`
[INFO] [stdout] ...
[INFO] [stdout] 215 |             process.dwSize = mem::size_of::<PROCESSENTRY32W>() as u32;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope
[INFO] [stdout]    --> src/lib.rs:217:45
[INFO] [stdout]     |
[INFO] [stdout] 217 |             let mut fetch_process_success = Process32FirstW(snapshot, &mut process);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:218:44
[INFO] [stdout]     |
[INFO] [stdout] 218 |             while fetch_process_success == TRUE {
[INFO] [stdout]     |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt`
[INFO] [stdout]    --> src/lib.rs:220:42
[INFO] [stdout]     |
[INFO] [stdout] 220 |                   let exe_file: OsString = OsStringExt::from_wide(&process.szExeFile);
[INFO] [stdout]     |                                            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 let exe_file: OsString = OsString::from_wide(&process.szExeFile);
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 7   | use std::os::unix::prelude::OsStringExt;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope
[INFO] [stdout]    --> src/lib.rs:231:41
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 fetch_process_success = Process32NextW(snapshot, &mut process);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/lib.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 |         .encode_wide()
[INFO] [stdout]     |          ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 50 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `syringe`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5222052701d15838fb533e07ddb16d8b746af710deeea9bc8997a33378d5daa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5222052701d15838fb533e07ddb16d8b746af710deeea9bc8997a33378d5daa5", kill_on_drop: false }`
[INFO] [stdout] 5222052701d15838fb533e07ddb16d8b746af710deeea9bc8997a33378d5daa5
